from django.db import models

# Create your models here.
class manager(models.Model):
    id = models.IntegerField(primary_key=True)
    account = models.CharField(max_length=25)
    password = models.CharField(max_length=25)
    #v0电影网站管理员，v1影院片场管理员，v2影院前台
    choices = ((0,'v0'),(1,'v1'),(2,'v2'))
    permissions = models.IntegerField(choices=choices,default=2)